package cn.wolfcode.ssm.mapper;

import java.util.List;

import cn.wolfcode.ssm.domain.Department;
import cn.wolfcode.ssm.query.QueryObject;

public interface DepartmentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Department entity);

    Department selectByPrimaryKey(Long id);

    List<Department> selectAll();

    int updateByPrimaryKey(Department entity);
    
    int selectForCount(QueryObject qo);

    List<Department> selectForList(QueryObject qo);
}